package com.ktwlsoft.fundmanage.domain.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

/**
 * 跳过配置
 * @author LanJian
 */
@Entity
@Getter
@Setter
public class SkipConfig extends BaseEntity {

    @Id
    @Enumerated(EnumType.STRING)
    @Column(length = 30)
    private SystemType systemType;

    /**
     * 现在是否跳过
     */
    private boolean skip;

    /**
     * 过去是否跳过
     */
    @JsonIgnore
    private boolean passSkip;

    /**
     * 系统类型
     */
    public enum SystemType{
        /**
         * 二手房
         */
        SECOND_HAND_HOUSE;
    }
}
